Centralize the setting of the pathbar's widgets
authorFederico Mena Quintero <federico@gnome.org>
Fri, 1 Jul 2011 19:36:52 +0000 (14:36 -0500)
committerFederico Mena Quintero <federico@gnome.org>
Sat, 2 Jul 2011 00:07:12 +0000 (19:07 -0500)
commit6bb34d7dd466d95a8ecc0377221dc7c00e2f13ec
tree65af3eb17ad83367c297a0038af0ff79cb8031ce
parent18ebec28c93a1141b390df8a983b48600bdd6c46
Centralize the setting of the pathbar's widgets

It used to be that every part of the file chooser's code would show/hide the widgets
near the pathbar as needed.  Now we have two central functions:

  path_bar_update()
  path_bar_set_mode()

These take care of all the widget shuffling;  setting the visibility of the
pathbar, info bar, and Create Folder button as appropriate; setting the contents
of the info bar, etc. - based on the current operation_mode and action.

Signed-off-by: Federico Mena Quintero <federico@gnome.org>
gtk/gtkfilechooserdefault.c
gtk/gtkfilechooserprivate.h